package com.melorour.product.repository;

import com.melorour.product.entity.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author Melorour on 2018/4/13.
 */

public interface ProductRepository extends JpaRepository<ProductInfo,String> {

    List<ProductInfo> findByProductStatus(Integer productStatus);


    List<ProductInfo> findByProductIdIn(List<String> productIdList);
}
